home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / QuickTime / M / My Problem Solved! < prev   
Encoding:
Text File  |  1991-12-30  |  1.3 KB  |  32 lines  |  [TEXT/GEOL]

  1. Bruce Leak at Apple solved my sound problem (where my short sounds didn't
  2. always play back).  Here's his link:
  3.  
  4. ----
  5. The current QuickTime sound media handler only initiates sound playback at
  6. non-interrupt time (i.e. MoviesTask time).  Since the frequency of MoviesTask
  7. calls is non-deterministic, sampling error can be introduced and the beginning
  8. samples of a sound edit will commonly be missed.
  9.  
  10. Since QuickTime will never start a sound early, the edit will either be started
  11. exactly on time or late.  If a sound is started late the beginning samples will
  12. be skipped to keep the sound (which may last hours) in sync with the other
  13. tracks.
  14.  
  15. The sounds in your sample movie had durations of 11.6ms (≈130 samples @ 11khz).
  16. In order to consistently play more than 90% of this sound, MoviesTask would
  17. need to be called at a uniform rate of 1000 times per second.
  18.  
  19. While this problem could be solved by an interrupt driven sound media handler,
  20. a straight forward work-around exists.  Simply precede your click sounds with a
  21. small amount of silence to prevent the more interesting parts from being
  22. skipped by sampling error —— 1/10 of a second should suffice.  This will add
  23. approximately 2K bytes to your file ( you only need it once per unique click
  24. since you multiply reference the same data ).
  25. ----
  26.  
  27. This work-around seemed to fix the problem.
  28.  
  29.   -Eric
  30.  
  31. Author: D1313
  32.